]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - Super Polarity/ActorFactory.cs
Protoshow sprint.
[rbdr/super-polarity] / Super Polarity / ActorFactory.cs
index 9995707ce0cfe45a00460e363dd25161848b4ba5..f9c7697b2bb2b3b13f3e12db48d176d2215c85b1 100644 (file)
@@ -18,7 +18,6 @@ namespace SuperPolarity
             mainShip.Initialize(Game.Content.Load<Texture2D>("Graphics\\main-ship"), position);
 
             ActorManager.CheckIn(mainShip);
-            Renderer.CheckIn(mainShip);
 
             return mainShip;
         }
@@ -45,7 +44,6 @@ namespace SuperPolarity
             ship.SetPolarity(polarity);
 
             ActorManager.CheckIn(ship);
-            Renderer.CheckIn(ship);
 
             return ship;
         }
@@ -64,7 +62,6 @@ namespace SuperPolarity
             bullet.Angle = angle;
 
             ActorManager.CheckIn(bullet);
-            Renderer.CheckIn(bullet);
 
             return bullet;
         }
@@ -93,7 +90,7 @@ namespace SuperPolarity
             ship.BoxDimensions.Z = 10;
 
             ship.Initialize(texture, position);
-            ship.MaxVelocity = 5.5f;
+            ship.MaxVelocity = 5.2f;
             ship.FleeVelocity = 6.5f;
             ship.ChargeVelocity = 5.5f;
             ship.Value = 3;
@@ -102,7 +99,6 @@ namespace SuperPolarity
             ship.SetPolarity(polarity);
 
             ActorManager.CheckIn(ship);
-            Renderer.CheckIn(ship);
 
             return ship;
         }
@@ -131,15 +127,16 @@ namespace SuperPolarity
             ship.BoxDimensions.Z = 40;
 
             ship.Initialize(texture, position);
+            ship.MagneticRadius = 1000;
+            ship.RepelRadius = 200;
             ship.MaxVelocity = 0.5f;
             ship.FleeVelocity = 5;
             ship.ChargeVelocity = 1;
             ship.Value = 10;
-            ship.HP = 9;
+            ship.HP = 29;
             ship.SetPolarity(polarity);
 
             ActorManager.CheckIn(ship);
-            Renderer.CheckIn(ship);
 
             return ship;
         }